package yt.kpool.bean;

import java.util.List;

/**
 * @Author:Created by  ygy
 * @time:2019/11/22
 */
public class MinerGroupBean {

    /**
     * Type : 1
     * Content : 操作成功
     * Data : [{"ID":0,"Name":"未分组","Hashrate":"0","OnNumber":0,"OffNumber":0,"LoseNumber":0},{"ID":1,"Name":"分组1","Hashrate":"13964999550566.4","OnNumber":1,"OffNumber":0,"LoseNumber":0},{"ID":2,"Name":"分组2","Hashrate":"0","OnNumber":0,"OffNumber":0,"LoseNumber":0}]
     */

    private int Type;
    private String Content;
    private List<DataBean> Data;

    public int getType() {
        return Type;
    }

    public void setType(int Type) {
        this.Type = Type;
    }

    public String getContent() {
        return Content;
    }

    public void setContent(String Content) {
        this.Content = Content;
    }

    public List<DataBean> getData() {
        return Data;
    }

    public void setData(List<DataBean> Data) {
        this.Data = Data;
    }

    public static class DataBean {
        /**
         * ID : 0
         * Name : 未分组
         * Hashrate : 0
         * OnNumber : 0
         * OffNumber : 0
         * LoseNumber : 0
         */

        private int ID;
        private String Name;
        private String Hashrate;
        private int OnNumber;
        private int OffNumber;
        private int LoseNumber;

        public int getID() {
            return ID;
        }

        public void setID(int ID) {
            this.ID = ID;
        }

        public String getName() {
            return Name;
        }

        public void setName(String Name) {
            this.Name = Name;
        }

        public String getHashrate() {
            return Hashrate;
        }

        public void setHashrate(String Hashrate) {
            this.Hashrate = Hashrate;
        }

        public int getOnNumber() {
            return OnNumber;
        }

        public void setOnNumber(int OnNumber) {
            this.OnNumber = OnNumber;
        }

        public int getOffNumber() {
            return OffNumber;
        }

        public void setOffNumber(int OffNumber) {
            this.OffNumber = OffNumber;
        }

        public int getLoseNumber() {
            return LoseNumber;
        }

        public void setLoseNumber(int LoseNumber) {
            this.LoseNumber = LoseNumber;
        }
    }
}
